<div class="title_st05"><h2 class="st05">市区町村から店舗を検索</h2></div>
<div class="mt10 mb10">
	<p>ご希望の市区町村を選択して下さい。</p>
</div>

<div id="select_area02">
<ul>
{foreach from=$dispList key=prefCd item=pref}
	<li><a href="#area{$prefCd}">{$pref.PrefName}</a></li>
{/foreach}
</ul>
</div>

<form name="mainForm" method="get" action="{$url.list}" onSubmit="return false;">
<input type="hidden" name="SrhKbn" value="{$request.SrhKbn}" />
<input type="hidden" name="PlaceKbn" value="{$request.PlaceKbn}" />
<input type="hidden" name="SrhType" value="{$request.SrhType}" />
<input type="hidden" name="first_check" value="{$request.first_check}" />
{if $request.isSelectedPref == true}
	{foreach from=$request.PrefCd item=PrefCd name=loop}
	<input type="hidden" name="PrefCd[{$smarty.foreach.loop.index}]" value="{$PrefCd}" />
	{/foreach}
{else}
	<input type="hidden" name="PrefCd[]" value="" />
{/if}

{foreach from=$dispList key=prefCd item=pref}
<div class="selectdetailbox"  id="area01">
	<div class="mt20"><p class="name">{$pref.PrefName}<label class="all_select"><input type="checkbox" name="allselect" id="allselect" onclick="javascript:AllChecker(document.mainForm, '0', this.checked, '{$prefCd}');" />すべて選択</label></p></div>
</div>
<!-- innerBlock01 -->
<div  class="innerbox01">
	<!-- innerBlock02 -->
	<div  class="innerbox02">
	{foreach from=$pref.CityList item=city name=cityLoop}
		{if $smarty.foreach.cityLoop.iteration % 3 == 1}
		{if $smarty.foreach.cityLoop.iteration + 2 >= $smarty.foreach.cityLoop.total}<ul class="hr_none">
		{else}<ul>{/if}{/if}
		{if $city.TENPO_COUNT == 0}
			{assign var="disabled" value=" disabled"}
		{else}
			{assign var="disabled" value=""}
		{/if}
			<li>
				<input type="checkbox" id="{$city.TODOUFUKEN_CD}" name="CityCd[]" value="{$city.TODOUFUKEN_CD}{$city.SHIKUCHOUSON_CD}"{$disabled} {$city.checked}>
				{if $city.STATIC_URL!=""}<a href="{$city.STATIC_URL}">{else}<a href="javascript:clickCity(document.mainForm, '{$city.TODOUFUKEN_CD}{$city.SHIKUCHOUSON_CD}')">{/if}{$city.SHIKUCHOUSON_NAME}({$city.TENPO_COUNT}店舗)</a>
			</li>
		{if $smarty.foreach.cityLoop.iteration % 3 == 0 || $smarty.foreach.cityLoop.last}
		</ul>
		{/if}
	{/foreach}
	</div>
</div>
{/foreach}

<div id="search_render" class="mt20">
	<p class="btn t_c">
		<input name="imageField" type="image" class="rollImg" id="imageField" src="/common_new/img/btn_search_l.gif" alt="検索" onmouseover="this.src='/common_new/img/btn_search_l_ov.gif'" onmouseout="this.src='/common_new/img/btn_search_l.gif'" onclick="javascript:SubmitCity(document.mainForm);"/>
	</p>
</div>
</form>

<div class="mb10">
	<a href="{$apm.baseurl}info/request/" >
	<img src="/images/common/banner_request_02.gif" alt="かんたんリクエスト" />
	</a>
</div>
